package cn.hn3l.agriculture.services.servicesImplements.datum;

import cn.hn3l.agriculture.dao.mapper.datum.EffectMapper;
import cn.hn3l.agriculture.entitis.behoof.Crop;
import cn.hn3l.agriculture.entitis.behoof.Sympton;
import cn.hn3l.agriculture.services.interfaces.datum.EffectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author Wang Weiwei
 * @Since 16-10-22
 * @Describe
 */

@Service("effectServiceImpl")
public class EffectServiceImpl implements EffectService{
    @Resource
    private EffectMapper effectMapper;
    @Override
    public List<Crop> findAllCrop() {
        return effectMapper.findAllCrop();
    }
    @Override
    public List<Sympton> findAllSympton() {
        return effectMapper.findAllSympton();
    }
}
